﻿#region Using directives
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
#endregion

namespace gpsMe.Properties
{
    /// <summary>
    /// Properties of the navigation form
    /// </summary>
    public static class gpsMeNavigationFormProperties
    {
        #region Toolbar properties
        #region Toolbar
        /// <summary>
        /// Height of the toolbar in pixels
        /// </summary>
        public const int TOOLBAR_HEIGHT = 64;

        /// <summary>
        /// Space between 2 elements of the toolbar
        /// </summary>
        public const int TOOLBAR_ELEMENTS_BORDER = 10;

        /// <summary>
        /// Color of the hour label
        /// </summary>
        public static Color TOOLBAR_LABEL_FORE_COLOR = Color.White;

        /// <summary>
        /// Back color of the hour label
        /// </summary>
        public static Color TOOLBAR_LABEL_BACK_COLOR = Color.Black;
        #endregion

        #region Hour label
        /// <summary>
        /// Top position of the hour label
        /// </summary>
        public const int HOUR_LABEL_TOP = 14;

        /// <summary>
        /// Left position of the hour label
        /// </summary>
        public const int HOUR_LABEL_LEFT = 70;
        #endregion

        #region gpsSignal
        /// <summary>
        /// Width of the gps signal picture box
        /// </summary>
        public const int GPS_SIGNAL_WIDTH = 48;

        /// <summary>
        /// Height of the gps signal picture box
        /// </summary>
        public const int GPS_SIGNAL_HEIGHT = 48;

        /// <summary>
        /// Top position of the gps signal picture box
        /// </summary>
        public const int GPS_SIGNAL_TOP = (TOOLBAR_HEIGHT - GPS_SIGNAL_HEIGHT) / 2;
        #endregion

        #region Battery level
        /// <summary>
        /// Width of the battery level picture box
        /// </summary>
        public const int BATTERY_LEVEL_WIDTH = 48;

        /// <summary>
        /// Height of the battery level picture box
        /// </summary>
        public const int BATTERY_LEVEL_HEIGHT = 48;

        /// <summary>
        /// Top position of the battery level picture box
        /// </summary>
        public const int BATTERY_LEVEL_TOP = (TOOLBAR_HEIGHT - BATTERY_LEVEL_HEIGHT) / 2;
        #endregion
        #endregion

        #region Threads properties
        /// <summary>
        /// Time between two executions of the info update thread loop
        /// This loop allows gpsMe to regularly update the informations displayed on the navigation toolbar
        /// </summary>
        public const int INFO_UPDATE_THREAD_SLEEP = 1000;
        #endregion
    }
}
